'use strict';
const Sequelize = require("sequelize");

module.exports = (sequelize, DataTypes) => {
  var AppDataCollection = sequelize.define('AppDataCollection', {
    id: {
      type: DataTypes.INTEGER,
      autoIncrement: true,
      primaryKey: true
    },
    dataType: { type: DataTypes.STRING },
    accountName: { type: DataTypes.STRING },
    email: { type: DataTypes.STRING },
    content: { type: Sequelize.STRING(1024) },
    appVersion: { type: DataTypes.STRING },
    remark: { type: DataTypes.STRING },
    status: { type: DataTypes.STRING },
  }, {});
  AppDataCollection.associate = function (models) {
    // associations can be defined here
  };
  return AppDataCollection;
};